// Class
jsForms.Components.PhoneBookControl={
	Init:function()
	{
		return jsForms.Components.Component.Init.call(this);
	},
	Clear:function(){
		this.C.phone.val('');
		this.C.name.val('');
		return this;
	},
	bOk_onClick:function(){
		this._ExecEvent('onAddItem',{phone:this.C.phone.val(),name:this.C.name.val()});
		return this;
	}
};

// -----------------------------------------------
// Compilation INFO
// -----------------------------------------------
jsForms.CreateCompileInfoByObject(
{
	Name: 'PhoneBookControl',
	Events: {
		onAddItem:{}
	}
});
